*{
    padding: 0;
    margin: 0;
}
body {
    background-color: #f3f5f6;
}

.clearfix:before,.clearfix:after{
    content: "";
    display: block;
}
.clearfix:after {
    clear: both;
    visibility: hidden;
}
.clearfix:after {
    *zoom: 1;
}

li {
    list-style: none;
}
a {
    text-decoration: none;
}
.w {
    width: 1200px;
    margin: auto;
}
/* 头部区域 */
.header {
    height: 42px;
    margin: 30px auto;
}
.logo {
    float: left;
    width: 198px;
    height: 42px;
}
.nav {
    float: left;
    margin-left: 30px;
}
.nav ul li {
    float: left;
    margin: 0 25px;
}
.nav ul li a {
    display: block;
    height: 42px;
    padding: 0 10px;
    line-height: 42px;
    font-size: 18px;
    color: #050505;
}
.nav ul li a:hover {
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
}
.search {
    float: left;
    width: 412px;
    height: 42px;
    margin-left: 50px;
}
.search input {
    float: left;
    width: 345px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right: 0;
    color: #bfbfbf;
    font-size: 14px;
    padding-left: 15px;
}
.search button {
    float: left;
    width: 50px;
    height: 42px;
    border: 0;
    background: url(images/fa-search.png);
}
.user {
    float: right;
    line-height: 42px;
    margin-right: 30px;
    font-size: 14px;
    color: #666;
}
.header .user img {
    vertical-align: middle;
}
/* banner区域 */
.banner {
    height: 421px;
    background-color: #1c036c;
}
.banner .w {
    height: 421px;
    background: url(images/banner2.png) no-repeat top center;
}
.subnav {
    float: left;
    width: 190px;
    height: 421px;
    background:rgba(0,0,0, 0.5);
}
.subnav li {
    height: 45px;
    padding: 0 20px;
}
.subnav ul li a{
    font-size: 14px;
    color: #ffffff;
    line-height: 45px;
}
.subnav ul li a span {
    font-weight: 700;
    float: right;
}
.subnav ul li a:hover {
    color: #00a4ff;
}
.course {
    float: right;
    width: 230px;
    height: 300px;
    background-color: #fff;
    margin-top: 50px;
}
.course h2 {
    height: 48px;
    background-color: #9bceea;
    font-size: 18px;
    text-align: center;
    line-height: 48px;
    color: #fff;
}
.course .bd {
    padding: 0 20px;
}
.course .bd ul li h4 {
    font-size: 16px;
    color: #4e4e4e;
}
.course .bd ul li p {
    font-size: 12px;
    color: #a5a5a5;
}
.course .bd ul li {
    padding: 14px 0;
    border-bottom: 1px solid #ccc;
}
.course .bd .more {
    display: block;
    height: 38px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 38px;
    color: #00a4ff;
    font-size: 16px;
    font-weight: 700;
    margin-top: 5px;
}
/* 精品推荐模块 */
.goods {
    height: 60px;
    background-color: #ffffff;
    box-shadow: 0 2px 3px 3px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    line-height: 60px;
}
.goods h3 {
    float: left;
    margin-left: 30px;
    font-size: 16px;
    color: #00a4ff;
}
.goods .goods-items ul {
    float: left;
    margin-left: 30px;
}
.goods .goods-items ul li {
    float: left;
}
.goods .goods-items ul li a {
    font-size: 16px;
    color: #050505;
    padding: 0 30px;
    border-left: 1px solid #bfbfbf;
}
.mod {
    float: right;
    margin-right:30px;
    font-size: 14px;
    color: #00a4ff;
}
/* 精品推荐大模块 */
.box {
    margin-top: 35px;
}
.box .box-hd {
    height: 45px;
}
.box .box-hd h3 {
    float: left;
    font-size: 20px;
    color: #494949;
}
.box .box-hd a {
    float: right;
    margin-top: 10px;
    margin-right: 30px;
    font-size: 12px;
    color: #a5a5a5;
}
.box .box-bd ul {
    width: 1225px;
}
.box .box-bd ul li {
    position: relative;
    float: left;
    width: 228px;
    height: 270px;
    margin-right: 15px;
    margin-bottom: 15px;
}
.box .box-bd ul li em {
    position: absolute;
    top: 4px;
    right: -4px;
}
.box .box-bd ul li:hover {
    box-shadow: 0 5px 5px 5px rgba(0,0,0, 0.2);
}
/* 编程入门区域 */
.lesson1 .lesson1-hd {
    margin-top: 41px;
    height: 41px;
}
.lesson1 .lesson1-hd h4 {
    float: left;
    font-size: 20px;
    color: #494949;
    margin-right: 352px;
}
.lesson1 .lesson1-hd ul {
    float: left;
}
.lesson1 .lesson1-hd ul li {
    float: left;
    margin-top: 5px;
    margin-right: 71px;
}
.lesson1 .lesson1-hd ul li a {
    font-size: 16px;
    color: #868686;
}
.lesson1 .lesson1-hd ul li a:hover {
    color: #00a4ff;
}
.lesson1 .lesson1-hd .all {
    float: right;
    margin-top: 5px;
    margin-right: 30px;
    font-size: 12px;
    color: #a5a5a5;
}
.lesson1 .lesson1-hd .all:hover {
    color: #00a4ff;
}
.lesson1 .lesson1-bd {
    width: 1225px;
    height: 393px;
}
.lesson1 .lesson1-bd .left {
    float: left;
    width: 228px;
    height: 393px;
}
.lesson1 .lesson1-bd .right {
    float: left;
    margin-left: 14px;
    width: 982px;
    height: 393px;
}
.lesson1 .lesson1-bd .right img {
    float: left;
}
.lesson1 .lesson1-bd .right ul li {
    float: left;
    width: 229px;
    height: 270px;
    margin-top: 23px;
    margin-right: 14px;
}
.lesson1 .lesson1-bd .right ul li:hover {
        box-shadow: 0 5px 5px 5px rgba(0,0,0, 0.2);
}
/* 数据分析师区域 */
.lesson2 .lesson2-hd {
    margin-top: 41px;
    height: 41px;
}
.lesson2 .lesson2-hd h4 {
    float: left;
    font-size: 20px;
    color: #494949;
    margin-right: 339px;
}
.lesson2 .lesson2-hd ul {
    float: left;
}
.lesson2 .lesson2-hd ul li {
    float: left;
    margin-right: 71px;
    margin-top: 5px;
}
.lesson2 .lesson2-hd ul li a {
    font-size: 16px;
    color: #868686;
}
.lesson2 .lesson2-hd .all {
    float: right;
    margin-top: 6px;
    margin-right: 32px;
    font-size: 12px;
    color: #a5a5a5;
}
.lesson2 .lesson2-hd .all:hover {
    color: #00a4ff;
}
.lesson2 .lesson2-hd ul li a:hover {
    color: #00a4ff;
}
.lesson2 .lesson2-bd {
    width: 1225px;
    height: 393px;
}
.lesson2 .lesson2-bd .left {
    float: left;
    width: 228px;
}
.lesson2 .lesson2-bd .right {
    float: left;
    margin-left: 15px;
}
.lesson2 .lesson2-bd .right .bd ul {
    margin-top: 19px;
}
.lesson2 .lesson2-bd .right .bd ul li {
    float: left;
    margin-right: 15px;
}
.lesson2 .lesson2-bd .right .bd ul li a {
    width: 227px;
    height: 270px;
}
.lesson2 .lesson2-bd .right ul li:hover {
    box-shadow: 0 5px 5px 5px rgba(0,0,0, 0.2);
}
/* 机器学习工程师区域 */
.lesson3 .lesson3-hd {
    margin-top: 41px;
    height: 41px;
}
.lesson3 .lesson3-hd h4 {
    float: left;
    font-size: 20px;
    color: #494949;
    margin-right: 305px;
}
.lesson3 .lesson3-hd div ul li {
    float: left;
    margin-top: 5px;
    margin-right: 71px;
}
.lesson3 .lesson3-hd div ul li a {
    font-size: 16px;
    color: #868686;
}
.lesson3 .lesson3-hd div ul li a:hover {
    color: #00a4ff;
}
.lesson3 .lesson3-hd .all {
    float: right;
    margin-top: 5px;
    margin-right: 31px;
    font-size: 12px;
    color: #a5a5a5;
}
.lesson3 .lesson3-hd .all:hover {
    color: #00a4ff;
}
.lesson3 .lesson3-bd {
    width: 1225px;
    height: 269px;
}
.lesson3 .lesson3-bd ul li {
    float: left;
    margin-right: 15px;
}
.lesson3 .lesson3-bd ul li:hover {
    box-shadow: 0 5px 5px 5px rgba(0,0,0, 0.2);
}
/* 前端开发工程师区域 */
.lesson4 .lesson4-hd {
    margin-top: 41px;
    height: 41px;
}
.lesson4 .lesson4-hd h4 {
    float: left;
    margin-right: 310px;
    font-size: 20px;
    color: #494949;
}
.lesson4 .lesson4-hd div ul li {
    float: left;
    margin-right: 71px;
}
.lesson4 .lesson4-hd div ul li a {
    font-size: 16px;
    margin-top: 5px;
    color: #868686;
}
.lesson4 .lesson4-hd div ul li a:hover {
    color: #00a4ff;
}
.lesson4 .lesson4-hd .all {
    float: right;
    margin-top: 5px;
    margin-right: 31px;
    font-size: 12px;
    color: #a5a5a5;
}
.lesson4 .lesson4-hd .all:hover {
    color: #00a4ff;
}
.lesson4 .lesson4-bd {
    width: 1225px;
    height: 270px;
}
.lesson4 .lesson4-bd ul li {
    float: left;
    margin-right: 15px;
}
.lesson4 .lesson4-bd ul li:hover {
    box-shadow: 0 5px 5px 5px rgba(0,0,0, 0.2);
}
/* 底部区域 */
.footer {
    height: 415px;
    background-color: #fff;
    margin-top: 41px;
}
.footer .w {
    padding-top: 35px;
}
.footer .w .copyright {
    float: left;
}
.footer .w .links {
    float: right;
}
.footer .w .copyright p {
    font-size: 12px;
    color: #666;
    margin: 20px 0 15px 0;
}
.footer .w .copyright .app {
    display: block;
    width: 118px;
    height: 33px;
    border: 1px solid #00a4ff;
    text-align: center;
    line-height: 33px;
    font-size: 16px;
    color: #00a4ff;
}
.footer .w .links dt {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}
.footer .w .links dl {
    float: left;
    margin: 0 30px 0 118px;
}
.footer .w .links dd a {
    font-size: 12px;
    color: #333;
}
